TEMPLATE = app
DESTDIR = bin
OBJECTS_DIR = obj
TARGET = wwam
CONFIG += release console qxt
win32:DEFINES += WINVER=0x0501
#QMAKE_LFLAGS = -Xlinker -Bstatic $$QMAKE_LFLAGS
# Input
HEADERS += src/Application.hpp \
    src/console/Indexer.hpp \
    src/console/QuickList.hpp \
    src/mod/DeviceLister.hpp \
    src/model/AudioFile.hpp \
    src/model/SmartPlaylist.hpp \
    src/ui/qt_blurimage.h \
    src/ui/sliderwidget.h \
    src/ui/stylehelper.h \
    src/mod/config/ConfigManager.hpp \
    src/mod/player/Player.hpp \
    src/mod/playlist/BasicPlaylist.hpp \
    src/model/Shortcut.hpp \
    src/mod/decoder/Decoder.hpp \
    src/mod/decoder/PcmDecoder.hpp \
    src/model/AudioDevice.hpp \
    src/mod/decoder/MpgDecoder.hpp \
    src/mod/decoder/FFmpegDecoder.hpp \
    src/mod/decoder/VorbisDecoder.hpp \
    src/mod/player/AudioEngine.hpp \
    lib/taglib/xmproperties.h \
    lib/taglib/xmfile.h \
    lib/taglib/xiphcomment.h \
    lib/taglib/xingheader.h \
    lib/taglib/wavproperties.h \
    lib/taglib/wavpackproperties.h \
    lib/taglib/wavpackfile.h \
    lib/taglib/wavfile.h \
    lib/taglib/vorbisproperties.h \
    lib/taglib/vorbisfile.h \
    lib/taglib/unicode.h \
    lib/taglib/tstringlist.h \
    lib/taglib/tstring.h \
    lib/taglib/trueaudioproperties.h \
    lib/taglib/trueaudiofile.h \
    lib/taglib/tpropertymap.h \
    lib/taglib/tmap.h \
    lib/taglib/tlist.h \
    lib/taglib/tiostream.h \
    lib/taglib/tfilestream.h \
    lib/taglib/tfile.h \
    lib/taglib/tdebug.h \
    lib/taglib/tbytevectorstream.h \
    lib/taglib/tbytevectorlist.h \
    lib/taglib/tbytevector.h \
    lib/taglib/tagunion.h \
    lib/taglib/taglib_export.h \
    lib/taglib/taglib_config.h \
    lib/taglib/taglib.h \
    lib/taglib/tag.h \
    lib/taglib/speexproperties.h \
    lib/taglib/speexfile.h \
    lib/taglib/s3mproperties.h \
    lib/taglib/s3mfile.h \
    lib/taglib/rifffile.h \
    lib/taglib/oggpageheader.h \
    lib/taglib/oggpage.h \
    lib/taglib/oggflacfile.h \
    lib/taglib/oggfile.h \
    lib/taglib/mpegproperties.h \
    lib/taglib/mpegheader.h \
    lib/taglib/mpegfile.h \
    lib/taglib/mpcproperties.h \
    lib/taglib/mpcfile.h \
    lib/taglib/mp4tag.h \
    lib/taglib/mp4properties.h \
    lib/taglib/mp4item.h \
    lib/taglib/mp4file.h \
    lib/taglib/mp4coverart.h \
    lib/taglib/mp4atom.h \
    lib/taglib/modtag.h \
    lib/taglib/modproperties.h \
    lib/taglib/modfileprivate.h \
    lib/taglib/modfilebase.h \
    lib/taglib/modfile.h \
    lib/taglib/itproperties.h \
    lib/taglib/itfile.h \
    lib/taglib/id3v2tag.h \
    lib/taglib/id3v2synchdata.h \
    lib/taglib/id3v2header.h \
    lib/taglib/id3v2framefactory.h \
    lib/taglib/id3v2frame.h \
    lib/taglib/id3v2footer.h \
    lib/taglib/id3v2extendedheader.h \
    lib/taglib/id3v1tag.h \
    lib/taglib/id3v1genres.h \
    lib/taglib/flacunknownmetadatablock.h \
    lib/taglib/flacproperties.h \
    lib/taglib/flacpicture.h \
    lib/taglib/flacmetadatablock.h \
    lib/taglib/flacfile.h \
    lib/taglib/fileref.h \
    lib/taglib/audioproperties.h \
    lib/taglib/asftag.h \
    lib/taglib/asfproperties.h \
    lib/taglib/asfpicture.h \
    lib/taglib/asffile.h \
    lib/taglib/asfattribute.h \
    lib/taglib/apetag.h \
    lib/taglib/apeproperties.h \
    lib/taglib/apeitem.h \
    lib/taglib/apefooter.h \
    lib/taglib/apefile.h \
    lib/taglib/aiffproperties.h \
    lib/taglib/aifffile.h \
    lib/taglib/frames/urllinkframe.h \
    lib/taglib/frames/unsynchronizedlyricsframe.h \
    lib/taglib/frames/unknownframe.h \
    lib/taglib/frames/uniquefileidentifierframe.h \
    lib/taglib/frames/textidentificationframe.h \
    lib/taglib/frames/relativevolumeframe.h \
    lib/taglib/frames/privateframe.h \
    lib/taglib/frames/popularimeterframe.h \
    lib/taglib/frames/ownershipframe.h \
    lib/taglib/frames/generalencapsulatedobjectframe.h \
    lib/taglib/frames/commentsframe.h \
    lib/taglib/frames/attachedpictureframe.h \
    lib/taglib/attachedpictureframe.h \
    src/ui/UiContainer.hpp \
    src/mod/decoder/AacDecoder.hpp \
    lib/qtsingleapplication/qtsinglecoreapplication.h \
    lib/qtsingleapplication/qtsingleapplication.h \
    lib/qtsingleapplication/QtSingleApplication \
    lib/qtsingleapplication/qtlockedfile.h \
    lib/qtsingleapplication/QtLockedFile \
    lib/qtsingleapplication/qtlocalpeer.h \
    src/model/AudioBlock.hpp \
    src/mod/collection/Indexer.hpp \
    src/mod/db/database.hpp \
    src/mod/DeviceManager.hpp
FORMS += src/ui/addstreamdialog.ui \
         src/ui/edittagdialog.ui \
         src/ui/mainwindow.ui \
         src/ui/preferences.ui \
         src/ui/settingsdialog.ui \
    src/ui/collection.ui \
    src/ui/effects.ui \
    src/ui/upnp.ui \
    src/ui/transcoderoptionswma.ui \
    src/ui/transcoderoptionsvorbis.ui \
    src/ui/transcoderoptionsmp3.ui \
    src/ui/transcoderoptionsflac.ui \
    src/ui/transcoderoptionsaac.ui \
    src/ui/transcoder.ui \
    src/ui/wishlist.ui \
    src/ui/history.ui \
    src/ui/device.ui \
    src/ui/dialogconfiguration.ui
DEPENDPATH += \
        src/ui \
        lib \
        lib/taglib \
        lib/taglib/frame
SOURCES += src/Application.cpp \
           src/mod/DeviceLister.cpp \
           src/model/AudioFile.cpp \
           src/ui/sliderwidget.cpp \
           src/ui/stylehelper.cpp \
           src/mod/config/ConfigManager.cpp \
           src/mod/player/Player.cpp \
           src/mod/playlist/BasicPlaylist.cpp \
           src/model/Shortcut.cpp \
    src/mod/decoder/Decoder.cpp \
    src/mod/decoder/PcmDecoder.cpp \
    src/model/AudioDevice.cpp \
    src/mod/decoder/MpgDecoder.cpp \
    src/mod/decoder/FFmpegDecoder.cpp \
    src/mod/decoder/VorbisDecoder.cpp \
    src/mod/player/AudioEngine.cpp \
    lib/taglib/xmproperties.cpp \
    lib/taglib/xmfile.cpp \
    lib/taglib/xiphcomment.cpp \
    lib/taglib/xingheader.cpp \
    lib/taglib/wavproperties.cpp \
    lib/taglib/wavpackproperties.cpp \
    lib/taglib/wavpackfile.cpp \
    lib/taglib/wavfile.cpp \
    lib/taglib/vorbisproperties.cpp \
    lib/taglib/vorbisfile.cpp \
    lib/taglib/unicode.cpp \
    lib/taglib/tstringlist.cpp \
    lib/taglib/tstring.cpp \
    lib/taglib/trueaudioproperties.cpp \
    lib/taglib/trueaudiofile.cpp \
    lib/taglib/tpropertymap.cpp \
    lib/taglib/tmap.tcc \
    lib/taglib/tlist.tcc \
    lib/taglib/tiostream.cpp \
    lib/taglib/tfilestream.cpp \
    lib/taglib/tfile.cpp \
    lib/taglib/tdebug.cpp \
    lib/taglib/tbytevectorstream.cpp \
    lib/taglib/tbytevectorlist.cpp \
    lib/taglib/tbytevector.cpp \
    lib/taglib/tagunion.cpp \
    lib/taglib/tag.cpp \
    lib/taglib/speexproperties.cpp \
    lib/taglib/speexfile.cpp \
    lib/taglib/s3mproperties.cpp \
    lib/taglib/s3mfile.cpp \
    lib/taglib/rifffile.cpp \
    lib/taglib/oggpageheader.cpp \
    lib/taglib/oggpage.cpp \
    lib/taglib/oggflacfile.cpp \
    lib/taglib/oggfile.cpp \
    lib/taglib/mpegproperties.cpp \
    lib/taglib/mpegheader.cpp \
    lib/taglib/mpegfile.cpp \
    lib/taglib/mpcproperties.cpp \
    lib/taglib/mpcfile.cpp \
    lib/taglib/mp4tag.cpp \
    lib/taglib/mp4properties.cpp \
    lib/taglib/mp4item.cpp \
    lib/taglib/mp4file.cpp \
    lib/taglib/mp4coverart.cpp \
    lib/taglib/mp4atom.cpp \
    lib/taglib/modtag.cpp \
    lib/taglib/modproperties.cpp \
    lib/taglib/modfilebase.cpp \
    lib/taglib/modfile.cpp \
    lib/taglib/itproperties.cpp \
    lib/taglib/itfile.cpp \
    lib/taglib/id3v2tag.cpp \
    lib/taglib/id3v2synchdata.cpp \
    lib/taglib/id3v2header.cpp \
    lib/taglib/id3v2framefactory.cpp \
    lib/taglib/id3v2frame.cpp \
    lib/taglib/id3v2footer.cpp \
    lib/taglib/id3v2extendedheader.cpp \
    lib/taglib/id3v1tag.cpp \
    lib/taglib/id3v1genres.cpp \
    lib/taglib/flacunknownmetadatablock.cpp \
    lib/taglib/flacproperties.cpp \
    lib/taglib/flacpicture.cpp \
    lib/taglib/flacmetadatablock.cpp \
    lib/taglib/flacfile.cpp \
    lib/taglib/fileref.cpp \
    lib/taglib/audioproperties.cpp \
    lib/taglib/asftag.cpp \
    lib/taglib/asfproperties.cpp \
    lib/taglib/asfpicture.cpp \
    lib/taglib/asffile.cpp \
    lib/taglib/asfattribute.cpp \
    lib/taglib/apetag.cpp \
    lib/taglib/apeproperties.cpp \
    lib/taglib/apeitem.cpp \
    lib/taglib/apefooter.cpp \
    lib/taglib/apefile.cpp \
    lib/taglib/aiffproperties.cpp \
    lib/taglib/aifffile.cpp \
    lib/taglib/frames/urllinkframe.cpp \
    lib/taglib/frames/unsynchronizedlyricsframe.cpp \
    lib/taglib/frames/unknownframe.cpp \
    lib/taglib/frames/uniquefileidentifierframe.cpp \
    lib/taglib/frames/textidentificationframe.cpp \
    lib/taglib/frames/relativevolumeframe.cpp \
    lib/taglib/frames/privateframe.cpp \
    lib/taglib/frames/popularimeterframe.cpp \
    lib/taglib/frames/ownershipframe.cpp \
    lib/taglib/frames/generalencapsulatedobjectframe.cpp \
    lib/taglib/frames/commentsframe.cpp \
    lib/taglib/frames/attachedpictureframe.cpp \
    src/ui/UiContainer.cpp \
    src/mod/decoder/AacDecoder.cpp \
    lib/qtsingleapplication/qtsinglecoreapplication.cpp \
    lib/qtsingleapplication/qtsingleapplication.cpp \
    lib/qtsingleapplication/qtlockedfile_win.cpp \
    lib/qtsingleapplication/qtlockedfile_unix.cpp \
    lib/qtsingleapplication/qtlockedfile.cpp \
    lib/qtsingleapplication/qtlocalpeer.cpp \
    src/mod/collection/Indexer.cpp \
    src/mod/db/database.cpp \
    src/mod/DeviceManager.cpp
RESOURCES += res/ui_icons.qrc
INCLUDEPATH += src \
        /local/include \
        lib \
        lib/taglib \
        lib/taglib/frame \
        lib/qtsingleapplication
win32:INCLUDEPATH += F:/seb/workspace/MinGW/msys/1.0/local/include
LIBS += \
#        -static \
        -L/local/lib -Llib \
        -lportaudio -lmad -lsndfile -lflac -logg -lvorbis -lvorbisfile -lfaad -lsamplerate \
        -lavcodec -lavformat -lavutil -lswscale
#win32:LIBS += -lkernel32
#        -lqtsingleapplication
#       -ltaglib
QT += gui xml sql network
QXT += core gui xml

OTHER_FILES +=
